<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
   <form action="/update" method="post">
       <table>
           <tr>
               <td>编号</td>
               <td>姓名</td>
               <td>性别</td>
               <td>年龄</td>
               <td>部门</td>
               <td>日期</td>
               <td>操作</td>
           </tr>

           <tr th:object="${user}">
               <input type="hidden" th:value="*{uid}" name="uid">
               <td th:text="*{uid}">
               </td>
               <td>
                   <input type="text" th:value="*{uname}" name="uname">
               </td>
               <td >
                   <input type="text" th:value="*{sex}" name="sex">
               </td>
               <td >
                   <input type="text" th:value="*{age}" name="age">
               </td>
               <td>
                        <input type="text" th:value="*{dname}" name="dname">
               </td>
               <td>
                        <input type="text" th:value="*{createtime}" name="createtime">
               </td>
               <td>
                   <input type="submit" value="立即修改">
               </td>
           </tr>
       </table>
   </form>
</body>
</html>